package com.gk.panda.apis.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gk.panda.apis.entity.deviceManager.bo.DeviceCountGroupByTypeBo;
import com.gk.panda.pojo.DeviceManager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceManagerMapper extends BaseMapper<DeviceManager> {

    /**
     * @description: 数据可视化统计数据
     * @param: [orgId]
     * @return: com.gk.panda.apis.entity.DataVisualization.vo.MonitoringEquipmentVo
     * @date: 2022/11/11 14:32
     * @version: 1.0
     **/
    List<DeviceCountGroupByTypeBo> getMonitoringEquipmentCount(@Param("orgId") List<Integer> orgId);

    String getDevicePlaceBySn(@Param("deviceSn") String deviceSn);

    List<String> getDeviceSnListByOrgId(@Param("orgIds") List<Integer> orgIds);

    List<String> getLiveVideo();
}